<!DOCTYPE HTML>
<title>Testcase, bug 764354</title>
<style>
#outer {
  width: 300px;
  height: 100px;
  background: yellow; color: black;
}
.inner {
  background: aqua; color: black;
  text-align: center;
}
</style>

<div id="outer">
  <div class="inner">Text</div>
  <div class="inner">Text</div>
</div>
